home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat4 / cls2dls.4 < prev    next >
Text File  |  1999-09-16  |  848b  |  67 lines

  1.  
  2.  
  3.  
  4. cls2dls(1)                     Scilab Function                     cls2dls(1)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   cls2dls - bilinear transform
  13.  
  14. CALLING SEQUENCE
  15.   [sl1]=cls2dls(sl,T [,fp])
  16.  
  17. PARAMETERS
  18.  
  19.   sl,sl1
  20.        : linear systems (syslin lists)
  21.  
  22.   T    : real number, the sampling period
  23.  
  24.   fp   : prevarping frequency in hertz
  25.  
  26. DESCRIPTION
  27.   given sl=[A,B,C,D] (syslin list),a continuous time system cls2dls returns
  28.   the sampled system obtained by the bilinear transform s=(2/T)*(z-1)/(z+1).
  29.  
  30. EXAMPLE
  31.   s=poly(0,'s');z=poly(0,'z');
  32.   sl=syslin('c',(s+1)/(s^2-5*s+2));  //Continuous-time system in transfer form
  33.   slss=tf2ss(sl);  //Now in state-spece form
  34.   sl1=cls2dls(slss,0.2);  //sl1= output of cls2dls
  35.   sl1t=ss2tf(sl1) // Converts in transfer form
  36.   sl2=horner(sl,(2/0.2)*(z-1)/(z+1))   //Compare sl2 and sl1
  37.  
  38. SEE ALSO
  39.   horner
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.